
Partial Class SupportBroker_Files
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If Not Page.IsPostBack Then
            If Request("userId") IsNot Nothing Then
                Dim userId As Integer = Convert.ToInt32(Request("userid"))
                Dim sbUser As Cdm.DataCore.UserSecurity.CDMUser = Cdm.DataCore.UserSecurity.CDMUser.Retrieve(userId)
                SupportBrokerFiles1.Title = EntityController.GetSingleDisplayName("Support Broker") & " Files for " & sbUser.FirstName & " " & sbUser.LastName
            Else
                SupportBrokerFiles1.Title = EntityController.GetSingleDisplayName("Support Broker") & " Files"
            End If

        End If

        SetupJavaScript()

    End Sub

    Private Sub SetupJavaScript()
        EntityController.JavaScriptAddChildDiv(Me.PageDiv.ClientID, 60)
        EntityController.JavaScriptSetFixedHeight(0)
    End Sub

End Class